package com.hangzhou.xyj.model.respmodel;

import com.google.gson.annotations.SerializedName;
import com.hangzhou.xyj.model.DynamicModel;
import com.hangzhou.xyj.model.PageInfo;

import java.util.List;

/**
 * Created by yaohuix on 2016/3/8  16:34
 * <p/>
 * 说明：我的评论 我的收藏 特殊处理的model
 */
public class MyDynamicSpecialModel {

    @SerializedName("pageInfo")
    private PageInfo pageInfo;
    @SerializedName("list")
    private List<MyDynamicTarget> myCollectList;

    public PageInfo getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfo pageInfo) {
        this.pageInfo = pageInfo;
    }

    public List<MyDynamicTarget> getMyCollectList() {
        return myCollectList;
    }

    public void setMyCollectList(List<MyDynamicTarget> myCollectList) {
        this.myCollectList = myCollectList;
    }

    public class MyDynamicTarget {
        @SerializedName("target")
        private DynamicModel dynamicModel;
        private int id;//实体ID
        private int userId;//收藏者ID
        private int type;//用户类型
        @SerializedName("content")
        private String myComment;//我评论的内容
        @SerializedName("comment_id")
        private int dynamicId;
        @SerializedName("collect_id")
        private int collectId;//收藏Id
        private boolean isFollow;//是否关注
        @SerializedName("user_type")
        private int userType;//用户类型 我的评论的特殊处理

        public int getUserType() {
            return userType;
        }

        public void setUserType(int userType) {
            this.userType = userType;
        }

        public boolean isFollow() {
            return isFollow;
        }

        public void setIsFollow(boolean isFollow) {
            this.isFollow = isFollow;
        }

        public DynamicModel getDynamicModel() {
            return dynamicModel;
        }

        public void setDynamicModel(DynamicModel dynamicModel) {
            this.dynamicModel = dynamicModel;
        }

        public String getMyComment() {
            return myComment;
        }

        public int getCollectId() {
            return collectId;
        }

        public void setCollectId(int collectId) {
            this.collectId = collectId;
        }

        public void setMyComment(String myComment) {
            this.myComment = myComment;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public int getDynamicId() {
            return dynamicId;
        }

        public void setDynamicId(int dynamicId) {
            this.dynamicId = dynamicId;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }
    }
}
